package com.slkj.shilixiaoyuanapp.entity;

/**
 * Created  on 2018-08-30
 *
 * @author 唐开阔
 * @describe
 */
public class NoticeNumEntity {

    /**
     * schoolNum : 4
     * schoolBody : 家长调查问卷通知
     * classBody : 本周五下午三点，举行家长会
     * classNum : 29
     */

    private int schoolNum;
    private String schoolBody;
    private String classBody;
    private int classNum;

    public String getClassNumStr(){
        if (classNum > 99){
            return "99+";
        }
        return String.valueOf(classNum);
    }
    public String getSchoolNumStr(){
        if (schoolNum > 99){
            return "99+";
        }
        return String.valueOf(schoolNum);
    }
    public int getSchoolNum() {
        return schoolNum;
    }

    public void setSchoolNum(int schoolNum) {
        this.schoolNum = schoolNum;
    }

    public String getSchoolBody() {
        return schoolBody;
    }

    public void setSchoolBody(String schoolBody) {
        this.schoolBody = schoolBody;
    }

    public String getClassBody() {
        return classBody;
    }

    public void setClassBody(String classBody) {
        this.classBody = classBody;
    }

    public int getClassNum() {
        return classNum;
    }

    public void setClassNum(int classNum) {
        this.classNum = classNum;
    }
}
